package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;
import java.util.Date;


/**
 * 点位拉线表
 *
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-28 11:12:43
 */
@Entity
public class DDrawLineEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    @Id
    private String guid;
    //所属项目ID
    private String pGuid;
    //所属点位ID
    private String pPGuid;
    //拉线类别 数据字典line_type
    private String dLType;
    //定位方式
    private String dLAutotype;
    //经度
    private Double dLLongitude;
    //纬度
    private Double dLLatitude;
    //拉线坑土质
    private String dLSoil;
    //坑深
    private Double dLDeep;
    //采集人
    private Long dLUserid;
    //采集时间
    private Date dLCollecttime;
    //数据状态
    private String dLDatastate;
    //距离杆塔的距离
    @Transient
    private Double distance;


    @Generated(hash = 664688611)
    public DDrawLineEntity(String guid, String pGuid, String pPGuid, String dLType,
            String dLAutotype, Double dLLongitude, Double dLLatitude, String dLSoil,
            Double dLDeep, Long dLUserid, Date dLCollecttime, String dLDatastate) {
        this.guid = guid;
        this.pGuid = pGuid;
        this.pPGuid = pPGuid;
        this.dLType = dLType;
        this.dLAutotype = dLAutotype;
        this.dLLongitude = dLLongitude;
        this.dLLatitude = dLLatitude;
        this.dLSoil = dLSoil;
        this.dLDeep = dLDeep;
        this.dLUserid = dLUserid;
        this.dLCollecttime = dLCollecttime;
        this.dLDatastate = dLDatastate;
    }

    @Generated(hash = 2117700277)
    public DDrawLineEntity() {
    }


    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    /**
     * 设置：主键
     */
    public void setGuid(String guid) {
        this.guid = guid;
    }

    /**
     * 获取：主键
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置：所属项目ID
     */
    public void setPGuid(String pGuid) {
        this.pGuid = pGuid;
    }

    /**
     * 获取：所属项目ID
     */
    public String getPGuid() {
        return pGuid;
    }

    /**
     * 设置：所属点位ID
     */
    public void setPPGuid(String pPGuid) {
        this.pPGuid = pPGuid;
    }

    /**
     * 获取：所属点位ID
     */
    public String getPPGuid() {
        return pPGuid;
    }

    /**
     * 设置：拉线类别 数据字典line_type
     */
    public void setDLType(String dLType) {
        this.dLType = dLType;
    }

    /**
     * 获取：拉线类别 数据字典line_type
     */
    public String getDLType() {
        return dLType;
    }

    /**
     * 设置：定位方式
     */
    public void setDLAutotype(String dLAutotype) {
        this.dLAutotype = dLAutotype;
    }

    /**
     * 获取：定位方式
     */
    public String getDLAutotype() {
        return dLAutotype;
    }

    /**
     * 设置：经度
     */
    public void setDLLongitude(Double dLLongitude) {
        this.dLLongitude = dLLongitude;
    }

    /**
     * 获取：经度
     */
    public Double getDLLongitude() {
        return dLLongitude;
    }

    /**
     * 设置：纬度
     */
    public void setDLLatitude(Double dLLatitude) {
        this.dLLatitude = dLLatitude;
    }

    /**
     * 获取：纬度
     */
    public Double getDLLatitude() {
        return dLLatitude;
    }

    /**
     * 设置：拉线坑土质
     */
    public void setDLSoil(String dLSoil) {
        this.dLSoil = dLSoil;
    }

    /**
     * 获取：拉线坑土质
     */
    public String getDLSoil() {
        return dLSoil;
    }

    /**
     * 设置：坑深
     */
    public void setDLDeep(Double dLDeep) {
        this.dLDeep = dLDeep;
    }

    /**
     * 获取：坑深
     */
    public Double getDLDeep() {
        return dLDeep;
    }

    /**
     * 设置：采集人
     */
    public void setDLUserid(Long dLUserid) {
        this.dLUserid = dLUserid;
    }

    /**
     * 获取：采集人
     */
    public Long getDLUserid() {
        return dLUserid;
    }

    /**
     * 设置：采集时间
     */
    public void setDLCollecttime(Date dLCollecttime) {
        this.dLCollecttime = dLCollecttime;
    }

    /**
     * 获取：采集时间
     */
    public Date getDLCollecttime() {
        return dLCollecttime;
    }

    /**
     * 设置：数据状态
     */
    public void setDLDatastate(String dLDatastate) {
        this.dLDatastate = dLDatastate;
    }

    /**
     * 获取：数据状态
     */
    public String getDLDatastate() {
        return dLDatastate;
    }
}
